package com.pactera.madp.cp.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description  通讯录 - 客户 - 轨迹互动
 */

@Data
@TableName("cp_contact_employee_track")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "通讯录 - 客户 - 轨迹互动")
public class ContactEmployeeTrackEntity extends BaseEntity<ContactEmployeeTrackEntity> {

	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "id")
	private Integer id;

	/**
	 * 员工 ID(cp_work_employee.id)
	 */
	@ApiModelProperty(value = "通讯录id")
	private Integer employeeId;

	/**
	 * 外部联系人 ID work_contact.id
	 */
	@ApiModelProperty(value = "外部联系人id")
	private Integer contactId;

	@ApiModelProperty(value = "事件")
	private Integer event;

	@ApiModelProperty(value = "内容")
	private String content;

	/**
	 * 企业表ID corp.id
	 */
	@ApiModelProperty(value = "企业id")
	private Integer corpId;

	/**
	 * 渠道标识
	 */
	@ApiModelProperty(value = "渠道标识 1为后管 2为侧边栏")
	private Integer channel;
}
